package com.baibei.sdk;

import com.baibei.ebec.sdk.IOrderApi;
import com.github.raee.runit.AndroidRUnit4ClassRunner;
import com.rae.swift.RaeSharedPreferences;

import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;

/**
 * token 测试
 * Created by ChenRui on 2017/8/3 0003 10:54.
 */
@RunWith(AndroidRUnit4ClassRunner.class)
public class OrderApiTest extends SdkTest {

    private IOrderApi mOrderApi;

    @Override
    @Before
    public void setup() {
        super.setup();
        mOrderApi =  getApiProvider().getOrderApi();
    }

    @Test
    public void testQueryShipment() throws Exception {
//        runTest(mOrderApi.getOrderRecordList());

        MyConfig config = new RaeSharedPreferences(mContext).create(MyConfig.class);

        config.setName("");
    }

    public  interface  MyConfig{
        void setName(String name);
        String getName();
    }
}
